<script setup lang="ts">
</script>

<template>
  <RouterView/>
</template>

<style scoped lang="less">
.header {
  height: 60px;
  background-color: #409eff;
  display: flex;
  align-items: center;

  .logo {
    width: 48px;
    height: 48px;
    margin-left: 16px;
  }

  .sitename {
    font-size: 32px;
    color: #ffffff;
    margin-left: 8px;
  }

  .header-right {
    position: absolute;
    right: 16px;
    display: flex;
    align-items: center;

    .avatar {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background-color: #ffffff;
    }

    .arrow {
      width: 24px;
      height: 24px;
    }
  }
}

.sidebar {
  width: 200px;
  height: 100%;
  overflow: auto;

  :deep(.el-menu) {
    border-right: none;
  }

  .icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
  }
}

.content {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 200px;
  top: 60px;
  height: 100%;
  overflow: auto;
  background-color: #f1f1f1;

  .content-header {
    width: 100%;
    height: 55px;
    line-height: 55px;
    padding-left: 16px;
    font-size: 18px;
    font-weight: 500;
    background-color: #ffffff;
    border-left: 1px solid #f1f1f1;
  }
}
</style>
